xenoprof: The checks in the function passive_domain_do_rdmsr() were
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Jan 2009 12:36:29 +0000 (12:36 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 15 Jan 2009 12:36:29 +0000 (12:36 +0000)
commit523540cc9bc3c4c982fd2c5b9d65a96b2c210a36
tree95d8b15d4bb5dd06b7950ed47434155b8110b56b
parent501b78cbc29a72d522cc435f22f8651f2733d3b2
xenoprof: The checks in the function passive_domain_do_rdmsr() were
not sufficient.
Also the same checks were done in the function
passive_domain_do_wrmsr().
So these common checks are moved in a new single function
passive_domain_msr_op_checks().

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
xen/arch/x86/oprofile/nmi_int.c